This folder contains the replication files for Subsidies for Sale: Post-government Career Concerns, Revolving-door Channels, and Public Resource Misallocation in China. 

Author: Zeren Li
Date: Mar,19, 2023

Replication code:
code_main_result: code for replicating tables in the main text
code_main_result_visualzation: code for replicating figures in the  main text 
code_Appendix_A_other: code for replicating tables and figures in section Appendix A before Appendix A.1, except for Figure A.4
code_Appendix_A_other: code for replicating Figure A.4
code_Appendix_A_1: code for replicating tables and figures in section Appendix A.1
code_Appendix_A_2: code for replicating tables and figures in section Appendix A.2
code_Appendix_A_3: code for replicating tables and figures in section Appendix A.3
code_Appendix_B: code for replicating tables and figures in section Appendix B
code_Appendix_E: code for replicating tables and figures in section Appendix E
code_Appendix_F: code for replicating tables and figures in section Appendix F


Replication data:

subsidy_trend.csv: data used to show the general trend of subsidy
rd_official_rep.csv: career information data on all revolvers used in regression analysis
rd_all_rep.csv: career information data on revolvers who are included in the regression
rd_all_0719.csv: revolver id list for those who work in firms between 2007 and 2019
ind_pref_panel_jop.csv: dyadic data for regression analysis
firm_person_panel.csv: firm-by-person panel data

sector_name.xlsx: sectoral name information
prov_df.dta: welfare analysis, provincial-level data
program_replication_jop.dta: subsidy program-level data
procurement_jop.dta: data for subsidy allocation analysis
firm_yr_panel.dta: firm year panel data
earning_col_jop.dta: compensation analysis
county.dta: welfare analysis, county-level data
city.dta: welfare analysis, prefectural-level data
earning_df_jop.dta: data for compensation analysis
earning_col_jop.dta: data for compensation analysis, individual-level data
summary_stats.rds: individual data on all board directors and senior executives


CHN_adm2: all map files for replicating map visualization

The Stata version is 17.0              
The R version is 4.2.2
The operating system is Mac OS 12.0.1  